using Services;
using Services.SceneManagement;

public class Button_Exit : MyButton
{
    private ISceneController sceneController;

    protected override void OnClick()
    {
        sceneController.LoadScene("StartMenu");
    }

    protected override void Awake()
    {
        base.Awake();
        sceneController = ServiceLocator.Get<ISceneController>();
    }
}
